package com.systemservice.service;

import generator.domain.Premission;
import com.baomidou.mybatisplus.extension.service.IService;
import generator.support.ResponseResult;

import java.util.List;
import java.util.Map;

/**
* @author 杨健康
* @description 针对表【t_premission】的数据库操作Service
* @createDate 2022-06-20 10:46:52
*/
public interface PremissionService extends IService<Premission> {

    /**
     * 获取所有权限信息
     */
    public List<Map<String, Object>> getPre();

    /**
     * 模糊查询权限信息
     */
    public List<Map<String, Object>> queryPre(String role, String pre);

    /**
     * 添加权限信息
     */
    public ResponseResult<Object> addPre(Premission pre);

    /**
     * 修改权限信息
     */
    public ResponseResult<Object> editPre(Premission pre);
}
